﻿@model SchoolProject2012.Areas.Shared.Models.PersonneView
@using SchoolProject2012.Langue
@{
    ViewBag.Title = Resources.connexion;
}
<a data-next="#section3" data-prior="#section2" href="#" id="arrow1" class="next-section"></a>
@using (Html.BeginForm(null, null, new { langue = ViewBag.langue }, FormMethod.Post, new { title = "Connexion" }))
{
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>@Resources.connexion</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.LOGIN)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LOGIN)
            @Html.ValidationMessageFor(model => model.LOGIN)
        </div>

        <div class="editor-label"> 
            @Html.LabelFor(model => model.MDP)
        </div>
        <div class="editor-field">
            @Html.PasswordFor(model => model.MDP)
            @Html.ValidationMessageFor(model => model.MDP)
        </div>
        @Html.ActionLink(Resources.mdpForget, "Password", new { langue = ViewBag.langue }, new { @class = "link" })
        <p>
            <input type="submit" value="Connexion" />
        </p>
    </fieldset>
}